using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;

namespace FanDongping.Stock
{
    public partial class FmTmp : Form
    {
        public FmTmp()
        {
            InitializeComponent();


        }

        private void button1_Click(object sender, EventArgs e)
        {
            Size s = textBoxa.GetPreferredSize(Size.Empty);
            textBoxa.Size = s;
            s = this.GetPreferredSize(Size.Empty);
            this.Size = s;
            listViewTS.Columns[0].AutoResize(ColumnHeaderAutoResizeStyle.ColumnContent);

        }

        private void textBoxb_TextChanged(object sender, EventArgs e)
        {

        }

        private void textBoxb_Validating(object sender, CancelEventArgs e)
        {

        }

        private void FmTmp_Load(object sender, EventArgs e)
        {

            //s.
        }
    }
}